package net.spatula.tally_ho.service.beans;

/* Copyright 2006 Nicklas R Johnson
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 
 * 
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
 * See the License for the specific language governing permissions and 
 * limitations under the License.
 */

import java.io.Serializable;

public class ArticleBean implements Serializable {

    private static final long serialVersionUID = 1L;
    private String headline;
    private String adjective;
    private String summary;
    private String body;
    private SectionBean section;
    private UserBean creator;
    private String createDate;
    private long postCount;
    private Boolean agreedToLicense = new Boolean(false);
    private long thumbsUp;
    private long thumbsDn;
    
    
    private long id;
    private long spamAbuse;

    public SectionBean getSection() {
        return section;
    }

    public void setSection(SectionBean section) {
        this.section = section;
    }

    public String getAdjective() {
        return adjective;
    }

    public void setAdjective(String adjective) {
        this.adjective = adjective;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getHeadline() {
        return headline;
    }

    public void setHeadline(String headline) {
        this.headline = headline;
    }

    public String getSummary() {
        return summary;
    }

    public void setSummary(String summary) {
        this.summary = summary;
    }

    public UserBean getCreator() {
        return creator;
    }

    public void setCreator(UserBean creator) {
        this.creator = creator;
    }

    public void setId(long objectId) {
        id = objectId;
    }
    
    public long getId() {
        return id;
    }

    
    public String getCreateDate() {
        return createDate;
    }

    
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    
    public long getPostCount() {
        return postCount;
    }

    
    public void setPostCount(long postCount) {
        this.postCount = postCount;
    }

    
    public Boolean getAgreedToLicense() {
        return agreedToLicense;
    }

    
    public void setAgreedToLicense(Boolean agreedToLicense) {
        this.agreedToLicense = agreedToLicense;
    }

    
    public long getThumbsDn() {
        return thumbsDn;
    }

    
    public void setThumbsDn(long thumbsDn) {
        this.thumbsDn = thumbsDn;
    }

    
    public long getThumbsUp() {
        return thumbsUp;
    }

    
    public void setThumbsUp(long thumbsUp) {
        this.thumbsUp = thumbsUp;
    }

    public long getSpamAbuse() {
        return spamAbuse;
    }

    
    public void setSpamAbuse(long spamAbuse) {
        this.spamAbuse = spamAbuse;
    }

}
